"use strict";
exports.__esModule = true;
exports.add = void 0;
/*
 * @Author: your name
 * @Date: 2021-04-13 10:21:41
 * @LastEditTime: 2021-04-13 10:21:41
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \学习笔记\TypeScript笔记\20模块系统\math.ts
 */
function add() {
    var args = [];
    for (var _i = 0; _i < arguments.length; _i++) {
        args[_i] = arguments[_i];
    }
    var sum = 0;
    sum = args.reduce(function (pre, cur) {
        return pre + cur;
    });
    return sum;
}
exports.add = add;
